//
//  ChangePayTwoTableViewCell.m
//  GLGW_Shoping
//
//  Created by yang on 2018/11/27.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "ChangePayTwoTableViewCell.h"

@implementation ChangePayTwoTableViewCell{
    GLGWImageView * leftImageView;
    GLGWLabel *payTypeLabel;
}

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        leftImageView = [[GLGWImageView alloc] initWithFrame:CGRectMake(kWidthProportion_In_iPhoneTriploid(15), kHeightProportion_In_iPhoneTriploid(12), kWidthProportion_In_iPhoneTriploid(20), kHeightProportion_In_iPhoneTriploid(20)) inSuperView:self];
//        leftImageView.backgroundColor = kRandomColor;
        leftImageView.image = [UIImage imageNamed:@"icon_xianxiafukuan"];
        
        payTypeLabel = [[GLGWLabel alloc] initWithFrame:CGRectMake(kX_With_View(leftImageView, 20), kHeightProportion_In_iPhoneTriploid(12), KScreenWidth - kX_With_View(leftImageView, 20) - kWidthProportion_In_iPhoneTriploid(40), kHeightProportion_In_iPhoneTriploid(20)) theFont:SYSTEMFONT(14) theColor:kColor_Rule_Black inSuperView:self];
        payTypeLabel.text = @"线下汇款";
        self.showPush = YES;
    }
    return self;
}

-(void)setMoneyStr:(NSString *)moneyStr{
    _moneyStr = moneyStr;
    payTypeLabel.text = _moneyStr;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
